package com.cass.entity;



import java.io.Serial;
import java.io.Serializable;
import java.time.LocalDateTime;
import java.util.Date;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
*  违纪表实体类
 * @author  wangyou
* @TableName break_the_rule
*/
@Data
@AllArgsConstructor
@NoArgsConstructor
@Schema(name = "break_the_rule", description = "违纪表实体类")
public class BreakTheRule implements Serializable {

    @Serial
    private static final long serialVersionUID = 1L;
    /**
    * id主键
    */
    @Schema(name = "id",description = "主键")
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;
    /**
    * 违纪情况
    */
    @Schema(name = "violationOfDiscipline",description = "违纪情况")
    private String violationOfDiscipline;
    /**
    * 违纪扣分
    */
    @Schema(name = "deductionItem",description = "违纪扣分")
    private Integer deductionItem;
    /**
    * 学号
    */
    @Schema(name = "studentNumber",description = "学号")
    private String studentNumber;
    /**
     * 创建时间
     */
    @Schema(name = "creationTime",description="创建时间")
    @TableField(fill = FieldFill.INSERT)
    private LocalDateTime creationTime;
    /**
     * 更新时间
     */
    @Schema(name = "turnoverTime",description="更新时间")
    @TableField(fill = FieldFill.INSERT_UPDATE)
    private LocalDateTime turnoverTime;

}
